package hufs.twotwoco.object;

import javax.jdo.annotations.*;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class ManageObject {
	/*
	 * server�� durration client�� major ����
	 */

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long key;
	@Persistent
	private String uid;

	@Persistent
	private String name;

	@Persistent
	private String size;

	@Persistent
	private String milk;

	@Persistent
	private String shot;

	@Persistent
	private String whipping;
	
	@Persistent
	private String table;
	
	@Persistent
	private int num;

	public ManageObject(String uid, String name, String size, String milk,
			String shot, String whipping, int num, String table) {
		this.name = name;
		this.uid = uid;
		this.size = size;
		this.milk = milk;
		this.shot = shot;
		this.whipping = whipping;
		this.num = num;
		this.table = table;
	}
	public ManageObject(String uid, String table) {
		this.uid = uid;
		this.table = table;
	}
	public Long getKey() {
		return key;
	}

	public void setKey(Long key) {
		this.key = key;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public String getShot() {
		return shot;
	}

	public void setShot(String shot) {
		this.shot = shot;
	}

	public String getWhipping() {
		return whipping;
	}

	public void setWhipping(String whipping) {
		this.whipping = whipping;
	}

	public String getMilk() {
		return milk;
	}

	public void setMilk(String milk) {
		this.milk = milk;
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}


}
